﻿using System;

namespace ch03.binary
{
    public static class Panic
    {
        public static void Run(Exception exception)
        {
            throw exception;
        }

        public static void Run(string message)
        {
            throw new Exception(message);
        }

        public static void Run(string m1, object m2)
        {
            throw new Exception(string.Format(m1, m2));
        }
    }
}